package com.pjhouse.core.user.service;

import java.util.List;

import com.pjhouse.core.common.domain.Result;
import com.pjhouse.core.user.domain.UserDTO;

public interface UserService {

	Result<UserDTO> getById(long id);
	
	Result<UserDTO> getByPhone(String phone);

	Result<Long> addUser(UserDTO user);
	
	Result<Void> modifyUser(UserDTO user);
	
	Result<List<UserDTO>> getUserList();
}
